package com.ding.login.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ding
 * @since 2022-07-21
 */
@Getter
@Setter
  @TableName("record_login")
@ApiModel(value = "RecordLogin对象", description = "登录日志")
public class RecordLogin implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("登陆时间")
      private Date time;

      @ApiModelProperty("登录ip	")
      private String ip;

      @ApiModelProperty("地区")
      private String district;

      @ApiModelProperty("登录浏览器")
      private String browser;

      @ApiModelProperty("登录ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;


}
